Skip to main content
Version: 2.0

Static Text Template

Case: Template message with Text only

Payload

{
"recipient_type": "individual",
"to": "xxxxx",
"type": "template",
"template": {
"name": "welcome_test",
"language": {
"policy": "deterministic",
"code": "en"
}
},
"metadata": {
"messageId": "xxxxx",
"transactionId": "xxxxx",
"callbackDlrUrl": "http: //xxx.com"
}
}

Note: 'type' field will have the value as 'template' and 'templateID' field refers to template name which should be passed in small characters only. Also, the value in 'callbackDlrUrl' will be honoured only if default DLR URL is configured for you business.

Note: Calback URL is a optional paramter . Please use when you want to change the default URL(configured through smartta). It will only chnage the domain name othere paratemters will be same as configurated in smartta.